import IEntitySystem from "../../base/ECSR/IEntitySystem";
import MapComponent from "../components/MapComponent";

export default class LoadMapSystem extends IEntitySystem
{
    constructor(world)
    {
        super(world);
    }
    
    Execute()
    {
        let mapComs = this.world.GetComponents("MapComponent");
        if(mapComs === null || mapComs.length > 1 || mapComs.length < 0) return;
        let mapCom = mapComs[0] as MapComponent;
    }
}